//
//  BaseViewController.m
//  flutter_yuanxin_Example
//
//  Created by GMS on 2020/11/2.
//  Copyright © 2020 Arthur. All rights reserved.
//

#import "BaseViewController.h"
#import <flutter_boost/FlutterBoostPlugin.h>

@interface BaseViewController ()

@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (IBAction)oneClick:(UIButton *)sender {
    
    [FlutterBoostPlugin open:@"YXUpdatePaswordVC" urlParams:@{kPageCallBackId:@"MycallbackId#1"} exts:@{@"animated":@(YES)} onPageFinished:^(NSDictionary *result) {
        NSLog(@"call me when page finished, and your result is:%@", result);
    } completion:^(BOOL f) {
        NSLog(@"page is opened");
    }];
    
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
